﻿@model SienSchoofsProject.Models.RegisterExternalLoginModel
@{
    ViewBag.Title = Resources.RegisterTitle;
}

<hgroup class="title">
    <h1>@ViewBag.Title</h1>
</hgroup>
<section class="formulier">
    @using (Html.BeginForm("ExternalLoginConfirmation", "Account", new { ReturnUrl = ViewBag.ReturnUrl }))
    {
        @Html.AntiForgeryToken()

        @Html.LabelFor(m => m.UserName)
        @Html.TextBoxFor(m => m.UserName)
        @Html.ValidationMessageFor(m => m.UserName)
        @Html.LabelFor(m => m.emailadres)
        @Html.TextBoxFor(m => m.emailadres)
        @Html.ValidationMessageFor(m => m.emailadres)


        @Html.HiddenFor(m => m.ExternalLoginData)
        <br />
        <input type="submit" value="@Resources.Register" />
        @Html.ValidationSummary(true)
    }
</section>

<aside class="info">
    <hgroup class="title">
        <h3>@Resources.AssocWith @ViewBag.ProviderDisplayName account.</h3>
    </hgroup>
    @Resources.SuccesAuthWith <strong>@ViewBag.ProviderDisplayName</strong>.
    @Resources.PleaseEnterUsername
</aside>
